﻿//www.codeOften.com
//Senthil Maruthaiappan - senips (at) gmail.com
//see license on http://www.codeplex.com/Jinglebell


using System;

namespace CodeOften.Container
{
    public enum InstanceBehaviourType
    {
        Singleton,
        AlwaysCreate
    } ;

    public class InstanceBehaviour : Attribute
    {
        private readonly InstanceBehaviourType _instanceBehaviourType;

        public InstanceBehaviour(InstanceBehaviourType btype)
        {
            _instanceBehaviourType = btype;
        }

        public InstanceBehaviourType InstanceBehaviourType
        {
            get { return _instanceBehaviourType; }
        }
    }
}